<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<%@ include file="../set-sideBar/set-sideBar.jsp" %>--%>

<%@ include file="../../../common/web_top.jsp" %>
<style>
    .tr1,.tr11{
        height: 70px;
        line-height: 70px;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
    }
    ul{
        margin: 0px;

    }
    #htmlbody{
        padding: 0px;
    }
    .show_hide_logo{
        width: 10%;display: inline-block;text-align: center;
    }
    ._red{
        font-size: 12px!important;
        cursor: pointer;
        padding: 7px 10px;
        border-radius: 3px;
        color: #ffffff;
        background: #E55A5B;
    }
    ._blue{
        font-size: 12px!important;
        cursor: pointer;
        padding: 7px 10px;
        border-radius: 3px;
        color: #ffffff;
        background: #000;
    }
    .toggle-tu{
        width: 55px;
        display: inline-block;
        position: relative;
        left: -3px;
    }
    .tu-1{
        position: absolute;
        top: -19px;
        background: #dddddd;
        width: 1px;
        height: 30px;
    }

    .tu-2{
        position: absolute;
        top: -5px;
        background: #dddddd;
        width: 50px;
        height: 1px;
    }
    .tr11:hover{
        background:rgba(235,235,235,0.3) ;
    }
</style>

    <div class="bgSortScroll">

<div id="tag_set_content"></div>
        <script type="text/x-handlebars-template" id="tag_set_content_tpl">
        <div  class="public-bgContent" ng-init="load()">
            <div class="table public-table PoInput table-toggle table-toggle-ceng">
                <ul id="htmlbody">

                <li class="tr1" data-type="true" data-has-child="true" data-focus="false">
                    <span class="show_hide_logo">[-]</span>
                    <span style="width: 50%;display: inline-block;">标签列表</span>
                    <span style="width: 40%;display: inline-block;text-align: right;padding-right: 20px"><span ng-if="HbHr.hr206" class="_red add_tagSet_btn" data-attr="addSection" data-type="1" data-conp="标签列表"
                              data-id="2">新增标签</span></span>
                    <ul>
                {{#each .}}



                <div class="tr11" data-type="true" data-has-child="false" data-focus="false">
                    <span style="width: 10%;display: inline-block;text-align: center"></span>
                    <span style="width: 50%;display: inline-block;"><span class="toggle-tu">
                        <span class="tu-1"></span>
                        <span class="tu-2"></span>
                    </span>{{label_name}}</span>
                    <span style="width: 40%;display: inline-block;text-align: right;padding-right: 20px"><span ng-if="HbHr.hr207" class="_blue edit_tagSet_Btn" data-attr="comSection" data-type="1" data-type2="source"
                     data-id="{{id}}" data-tagname="{{label_name}}">编辑标签</span><span style="margin-left:10px" ng-if="HbHr.hr208" class="second-span _red delect_tagSet_Btn" data-type="1"
                       data-type2="source" data-attr="remSection"
                       data-id="{{id}}">删除标签</span></span>
                </div>
                {{/each}}</ul>
                    </li>

                </ul>
            </div>
        </div>
        </script>
    </div>

<%--新增弹框--%>
<div class="winBox new_tagSet_window " style="display: none;">

  <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
    <div class="winBox5 ">
        <div class="changeMan">
            <!-- 说明：更换业务员 -->
            <!-- 头部 -->
            <div class="headerBox">
                <span class="headerSpan new_tagSet_window_title">新增标签</span>
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="assBox">
                <div class="public-bgDate" style="padding-left: 20px">
        <span>
                <input type="text" autocomplete="off" style="display: none" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty edit_id" ng-model="data.searchKey">

            <br>
     标签名称： <input type="text" autocomplete="off" class="D-input-big ng-pristine ng-untouched ng-valid ng-empty new_tagSet_name" ng-model="data.searchKey"><br>



        </span>




                </div>

                <button class="new_tagSet_commit" style="margin-left: 70px">
                    确认提交
                </button>
            </div>
        </div>
    </div></div>
</div>

<script type="text/javascript" src="static/js/page/set/systemSet/tagSet/tagSet.js?_v=190102162154"></script>
  <%@ include file="../../../common/web_bottom.jsp" %>